package com.chance.cc.crawler.prod.command.schedule.commerce.tm.supplement;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.commerce.tm.supplement.TBTMPCommentDailySupplementCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @author lt
 * @version 1.0
 * @date 2020-12-09 16:15:28
 * @email okprog@sina.com
 */
public class TMCommentSupplementCrawlerJobSchedule extends CommonCrawlerJobSchedule {


    public static void main(String[] args) throws InterruptedException {
        CommonCrawlerScheduleJob(TBTMPCommentDailySupplementCrawlerScheduleJob.taobaoSchduler());
    }

    public static void CommonCrawlerScheduleJob(CrawlerJob crawlerJob) throws InterruptedException {
//        crawlerJobScheduleCommand_17.republishCrawlerJob(
//                StringUtils.joinWith("-",crawlerJob.generateCrawlerTriggerKey(),1),device_name_1);
//        Thread.sleep(1000);
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_2);
//        Thread.sleep(1000);
//        crawlerJobScheduleCommand_17.republishCrawlerJob(
//                StringUtils.joinWith("-",crawlerJob.generateCrawlerTriggerKey(),3),device_name_3);
    }

}
